<template>
	<view >
	<button @click="year">pp年卡</button>
	<button @click="half">pp半年卡</button>
	<button @click="qp">pp季卡</button>
		<button @click="tyy">通用年卡</button>
		<button @click="tyh">通用半年卡</button>
		<button @click="tyqx">通用季卡</button>
	</view>
</template>

<script>

	export default {
		data() {
			return {
			
			}
		},
		components: {

		},
		methods: {
			tyy(){
				uni.navigateTo({
					url: '/pages/ty_year/ty_year?a=123aaa&param=123'
				})
			},
			tyh(){
				uni.navigateTo({
					url: '/pages/ty_half/ty_half?a=123aaa&param=123'
				})
			},
			tyqx(){
				uni.navigateTo({
					url: '/pages/ty_q/ty_q?a=123aaa&param=123'
				})
			},
			year(){
				uni.navigateTo({
					url: '/pages/pp_y/pp_y?a=123aaa&identity=123&app_id=1235&nickname=1236&openid=123'
				})
			},
			half(){
				uni.navigateTo({
					url: '/pages/pp_hy/pp_hy?a=123aaa&identity=123&app_id=1235&nickname=1236&openid=123'
				})
			},
			qp(){
				uni.navigateTo({
					url: '/pages/pp_quarter/pp_quarter?a=123aaa&identity=123&app_id=1235&nickname=1236&openid=123'
				})
			},
			lq(){
				wx.openEmbeddedMiniProgram({
				  appId: 'wx9dad66cfb3a8af62',// 你要打开的小程序appid
				  path: 'pages/index/index?a=666666', // 打开的页面路径，如果为空则打开首页
				  extraData: {},// 需要传递给目标小程序的数据
				  envVersion: 'release',// 要打开的小程序版本 develop 开发版 trial 体验版 release 正式版
				  success(res) {
				    // 打开成功
				  },
				  fail(e) {
				    // 打开失败
					console.log(e)
				  },
				})
			}
	
	
		},
		onLoad(option) {
		
	

		},
		watch: {

		},
		computed: {

		}
	}
</script>

<style scoped lang='scss'>
.box{
	position: relative;
	height: 100vh;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}
</style>
